from typing import List


class Solution:
    def largest1BorderedSquare(self, grid: List[List[int]]) -> int:
        max = 0
        
        return 0


if __name__ == "__main__":
    print(Solution().largest1BorderedSquare([[1, 1, 1], [1, 0, 1], [1, 1, 1]]))
    print(Solution().largest1BorderedSquare([[1, 1, 0, 0]]))
    pass
